﻿@inherits LayoutBase

<div>

<div id="masterHead">
@AddControls(new Input(InputType.Hidden).SetAttribute("data-rulespath", Model.ValidationRulesJS))
</div>

<div id="masterLang">
@RenderControl("Layouts/Blocks/LangSelectorBlock.cshtml")
</div>

<div id="masterTitle">@HeadTitle</div>
<div id="masterRibb">
    <nav class="menu">
        @RenderControl("Layouts/Blocks/MenuTabs.cshtml")
    </nav>
    <nav class="icons">
        @RenderControl("Layouts/Blocks/QuickActionsBlock.cshtml")
    </nav>
    <nav class="texts">
        @RenderControl("Layouts/Blocks/DescriptionBlock.cshtml")
    </nav>
</div>

<div id="masterLout">
    @RenderAction("MasterPageSelectors", Str.Controllers.Layout)
</div>

<div id="masterPagi" >
  @RenderControl("Layouts/Blocks/MovingBlock.cshtml")
</div>

<div id="masterActions" >
      @RenderControl("Layouts/Blocks/ActionsBlock.cshtml")
</div>

<div id="masterBody" class="masterBody scroller mainSection @Model.MasterBodyCssClass">
  <div class="minWidthKeeper">
    @RenderControl("Layouts/Blocks/MessagesBlock.cshtml")
    @RenderBody() @* The clean layout for Async loads of the masterBody section *@
  </div>
</div>

@RenderControl("Layouts/Blocks/ButtonsBlock.cshtml")
</div>